package com.aft.terra.modules.game.model;

import com.aft.terra.modules.game.model.base.BaseIntercept;

public class Intercept extends BaseIntercept<Intercept> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public static final Intercept dao = new Intercept();

	public Boolean queryUserIdExistence(Long userId) {
		String sql ="select id,user_id from t_intercept where user_id = ?";
		return find(sql,userId).size() > 0;
	}

}
